<?php
namespace App\Models\Auth;

use Encore\Admin\Auth\Database\Administrator as admin;

/**
 * Class Administrator.
 *
 * @property Role[] $roles
 */
class Administrator extends admin
{
    protected $fillable = ['username', 'password', 'name', 'avatar', 'city', 'email'];
    public function cityinfo()
    {
        return $this->belongsTo('App\Models\CityList', 'city', 'key');
    }
}
